package com.serli.sample.person.model.data.session;

import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

public class SessionBeanParent {
       
	@PersistenceContext(unitName="people-persistence")
        EntityManager manager = null; 
        
        final void transactionBegin() { 
            manager.getTransaction().begin();
        }
	
	final void transactionCommit() {
            manager.getTransaction().commit();
	}
}
